-- GENERATED SPELL FOR [Gammerita] --


function spell0_7977(pUnit, Event) --@Pierce Armor,n/a--
pUnit:FullCastSpellOnTarget(6016,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_7977', 20000, 1)
end

function Sorts_7977(pUnit, Event)
local choix_sorts_7977 = math.random(0, 0)
if choix_sorts_7977 == 0 then
pUnit:RegisterEvent('spell0_7977', 1, 1)
end
end

function mob7977_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_7977', math.random(1500, 3000), 1)
end

function mob7977_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7977_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob7977_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(7977, 1, 'mob7977_Action')
RegisterUnitEvent(7977, 2, 'mob7977_Leave')
RegisterUnitEvent(7977, 3, 'mob7977_Kill')
RegisterUnitEvent(7977, 4, 'mob7977_Die')
